package org.huifei.a6_adapter.object;

/**
 * @author: huifei
 * @date: 2017-08-29 11:58
 */
public class Wrapper implements Target{

    private Source source;

    public Wrapper(Source source) {
        this.source = source;
    }

    @Override
    public void method1() {
        source.method1();
    }

    @Override
    public void method2() {
        System.out.println("this is method2");
    }
}
